Package-level declarations
Types
Link copied to clipboard
All dependencies available to identity IdentityState.Actions.
Link copied to clipboard
Link copied to clipboard
object IdentityLogic
Link copied to clipboard
class IdentityManager(val storage: Storage, ioScope: IOScope, stringToSha: (String) -> String = { it }, val notifyUserChange: (change: Map<String, Any>) -> Unit, val completeReset: () -> Unit = {
Superwall.instance.reset(duringIdentify = true)
}, val tracker: suspend (TrackableSuperwallEvent) -> Unit = {
Superwall.instance.track(it)
}, options: () -> SuperwallOptions, val webPaywallRedeemer: () -> WebPaywallRedeemer, val actor: StateActor<IdentityContext, IdentityState>, val sdkContext: SdkContext) : IdentityContext
Facade over the identity state of the shared SDK actor.
Link copied to clipboard
Options passed in when calling Superwall.identify(userId, options).
Link copied to clipboard
data class IdentityState(val appUserId: String? = null, val aliasId: String = IdentityLogic.generateAlias(), val seed: Int = IdentityLogic.generateSeed(), val userAttributes: Map<String, Any> = emptyMap(), val phase: IdentityState.Phase = Phase.Pending(setOf(Pending.Configuration)), val appInstalledAtString: String = "")